home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Supervisor's Toolkit
/
Network Supervisor's Toolkit.iso
/
btrieve
/
bops
/
bops.doc
next >
Wrap
Text File
|
1996-07-10
|
7KB
|
170 lines
+-------------------------------------------------------------------+
| |
| B O P S - Btrieve(R) Optimum Page Size Utility |
| |
| Copyright (C) 1990 by InfoNapse Systems. |
| All Rights Reserved. |
| |
| |
| Documentation for standard executable and |
| memory resident programs. |
| |
| Version 1.1 |
| |
+-------------------------------------------------------------------+
This is a *FREE* utility.
******************
** NOT FOR SALE **
******************
Programs written using:
Microsoft BASIC 7.1 Professional Development System.
Copyright (C) 1989, Microsoft Corporation. All Rights Reserved.
QuickPak Professional v3.0 Add-On Library.
Copyright (C)1988,1989 Crescent Software. All Rights Reserved.
PDQ v1.49 Replacement Library
Copyright (C)1989 Crescent Software. All Rights Reserved.
---------------------------------------------------------------------
Btrieve, NetWare and Novell are registered trademarks of Novell, Inc.
MS, Microsoft are registered trademarks of Microsoft Corporation.
---------------------------------------------------------------------
BOPS.EXE - Btrieve(tm) Optimum Page Size Utility Page: 1
---------------------------------------------------------------------
- DESCRIPTION -
BOPS was written to offer Btrieve programmers a convenient means of
determining the most efficient page size to use for Btrieve files. We
have provided two (2) versions of BOPS: executable and resident (TSR).
The resident version will consume approximately 18K of memory.
BOPS will calculate a page size, based upon file specs you supply.
The calculated page size will offer the most efficient utilization of
page space (least unused bytes). The calculation is based upon the
documented formula found in the Novell Btrieve programmer's manual.
- ARCHIVE CONTENTS -
Your archived package should contain the following files:
BOPS.COM - executable version
BOPSR.COM - memory resident version
BOPS.DOC - documentation
README - miscellaneous notes
- OPERATION -
The program will prompt for the following information:
1> Using variable length records ? [Spacebar toggles YES/NO]
2> Using blank truncation ? [Spacebar toggles YES/NO]
3> Number of duplicate keys [value from 0 to 24]
4> Logical record length [value from 1 to 4096]
Press [F10] and BOPS will produce the following information:
1> Optimum Page Size (use this value in your description file)
2> Physical record length (includes overhead)
3> Number of records per page, given the calculated page size
4> Unused bytes per page (wasted space)
If an invalid value is entered, the program will sound a beep. To
exit either version of the program, press the [Esc] key.
---------------------------------------------------------------------
BOPS.EXE - Btrieve(tm) Optimum Page Size Utility Page: 2
---------------------------------------------------------------------
- RESIDENT VERSION -
BOPSR.COM is a Terminate but Stay Resident version of the executable
BOPS utility. The TSR will consume approximately 18K of memory. BOPSR
may be loaded into hi memory on 386 machines if/when equipped with the
necessary software.
The default hot-key setting used by BOPSR is [Ctrl]+[Alt]+[B]. The
hot-key setting may be changed during initial load from the command
line. The following is a description of the syntax to use:
BOPSR [ /K [<shiftmask>] [:<key>] ]
where:
<shiftmask> = "!", "@", "#", or "$" or ANY combination as
listed below:
"!" = Right-Shift
"@" = Left-Shift
"#" = Control or Ctrl
"$" = Alternate or Alt
<key> = any single alphabetic key A thru Z
Note that it is NOT necessary to specify BOTH <shiftmask> and <key>.
The default <shiftmask> is [Ctrl]+[Alt] (#$), and the default <key>
assignment is [B]. If you specify a <key> argument, you must include
a leading colon ":". The "/K" switch is always required whenever you
vary the hot-key setting. Below are several examples illustrating how
to specify a hot-key setting.
SYNTAX HOT-KEY SETTING
-------------- ----------------------------------------------
BOPSR /K:Z = [Ctrl]+[Alt]+[Z]
BOPSR /K@:Z = [Left-Shift]+[Z]
BOPSR /K!@#$ = [Right-Shift]+[Left-Shift]+[Ctrl]+[Alt]+[B]
BOPSR /K# = [Ctrl]+[B]
- UNLOADING -
BOPSR may be unloaded from memory by using the "/U" command line
switch. As with any TSR, it must have been the LAST TSR loaded into
memory. BOPSR will report whether or not it was successful at unloading
itself from memory.
- NOTES -
There are six (6) bytes involved in page overhead. BOPS takes this
into account during calculation. If you find BOPS useful, but feel
as though it fails to provide accurate information, please feel free
to contact the author via E-Mail. Steve Bathurst (72656,434)